package com.detection.common.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 物资器材监控记录对象 yq_materials_equipment_record
 *
 * @author wanhy
 * @date 2024-11-05
 */
@ApiModel("物资器材监控记录")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class YqMaterialsEquipmentRecord
{
    private static final long serialVersionUID = 1L;

    /** 人脸抓拍事件编号 */
    private String eventCode;

    /** 事件发生时时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("事件发生时时间")
    private Date eventTime;

    /** yq编号 */
    @ApiModelProperty("yq编号")
    private String campCode;

    /** yq名称 */
    @ApiModelProperty("yq名称")
    private String campName;

    /** 抓拍设备点编号 */
    @ApiModelProperty("抓拍设备点编号")
    private String deviceCode;

    /** 人脸抓拍背景大图url */
    @ApiModelProperty("人脸抓拍背景大图url")
    private String backImageUrl;

    /** 人脸抓拍图片url */
    @ApiModelProperty("人脸抓拍图片url")
    private String faceImageUrl;

    /** 识别标识 */
    @ApiModelProperty("识别标识")
    private String identifyFlag;

    /** 人员编号 */
    @ApiModelProperty("人员编号")
    private String personCode;

    /** 名称 */
    @ApiModelProperty("名称")
    private String name;

    /** 身份证号 */
    @ApiModelProperty("身份证号")
    private String idCardNo;

    /** 手机号码 */
    @ApiModelProperty("手机号码")
    private String phoneNo;

    /** 年龄段 */
    @ApiModelProperty("年龄段")
    private String ageGroup;

    /** 性别 */
    @ApiModelProperty("性别")
    private String gender;

    /** 是否戴眼镜 */
    @ApiModelProperty("是否戴眼镜")
    private String wearGlasses;

    /** 是否戴口罩 */
    @ApiModelProperty("是否戴口罩")
    private String wearMask;

    public void setEventCode(String eventCode)
    {
        this.eventCode = eventCode;
    }

    public String getEventCode()
    {
        return eventCode;
    }
    public void setEventTime(Date eventTime)
    {
        this.eventTime = eventTime;
    }

    public Date getEventTime()
    {
        return eventTime;
    }
    public void setCampCode(String campCode)
    {
        this.campCode = campCode;
    }

    public String getCampCode()
    {
        return campCode;
    }
    public void setCampName(String campName)
    {
        this.campName = campName;
    }

    public String getCampName()
    {
        return campName;
    }
    public void setDeviceCode(String deviceCode)
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode()
    {
        return deviceCode;
    }
    public void setBackImageUrl(String backImageUrl)
    {
        this.backImageUrl = backImageUrl;
    }

    public String getBackImageUrl()
    {
        return backImageUrl;
    }
    public void setFaceImageUrl(String faceImageUrl)
    {
        this.faceImageUrl = faceImageUrl;
    }

    public String getFaceImageUrl()
    {
        return faceImageUrl;
    }
    public void setIdentifyFlag(String identifyFlag)
    {
        this.identifyFlag = identifyFlag;
    }

    public String getIdentifyFlag()
    {
        return identifyFlag;
    }
    public void setPersonCode(String personCode)
    {
        this.personCode = personCode;
    }

    public String getPersonCode()
    {
        return personCode;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIdCardNo(String idCardNo)
    {
        this.idCardNo = idCardNo;
    }

    public String getIdCardNo()
    {
        return idCardNo;
    }
    public void setPhoneNo(String phoneNo)
    {
        this.phoneNo = phoneNo;
    }

    public String getPhoneNo()
    {
        return phoneNo;
    }
    public void setAgeGroup(String ageGroup)
    {
        this.ageGroup = ageGroup;
    }

    public String getAgeGroup()
    {
        return ageGroup;
    }
    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }
    public void setWearGlasses(String wearGlasses)
    {
        this.wearGlasses = wearGlasses;
    }

    public String getWearGlasses()
    {
        return wearGlasses;
    }
    public void setWearMask(String wearMask)
    {
        this.wearMask = wearMask;
    }

    public String getWearMask()
    {
        return wearMask;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("eventCode", getEventCode())
                .append("eventTime", getEventTime())
                .append("campCode", getCampCode())
                .append("campName", getCampName())
                .append("deviceCode", getDeviceCode())
                .append("backImageUrl", getBackImageUrl())
                .append("faceImageUrl", getFaceImageUrl())
                .append("identifyFlag", getIdentifyFlag())
                .append("personCode", getPersonCode())
                .append("name", getName())
                .append("idCardNo", getIdCardNo())
                .append("phoneNo", getPhoneNo())
                .append("ageGroup", getAgeGroup())
                .append("gender", getGender())
                .append("wearGlasses", getWearGlasses())
                .append("wearMask", getWearMask())
                .toString();
    }
}
